/**************************************************************************************
 * Copyright (c) 2014, Marcus Machado, All rights reserved.
 * Copyright (c) 2014, Java Emergency Management Framework - JEMF, All rights reserved.
 * Graduate Program on Informatics (PPGI), Federal University of Rio de Janeiro (UFRJ).
 *  
 *   This program is free software: you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation, either version 3 of the License, or
 *   (at your option) any later version.
 *
 *   This program is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 *   See the GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with this program.  If not, see <http://www.gnu.org/licenses/>.
 * 
 **************************************************************************************/
package br.ufrj.ppgi.jemf.test.data;

import android.content.ContentValues;
import br.ufrj.ppgi.jemf.core.coordination.EnumEmergencyType;
import br.ufrj.ppgi.jemf.core.coordination.EnumLevel;
import br.ufrj.ppgi.jemf.mobile.database.DBStatement;

/**
 * @author Marcus Machado
 *
 */
public class DummyEmergency {

	/**
	 * Dummy Emergency 1
	 * @return ContentValues
	 */
	public static ContentValues dummyEmergency1() {
		ContentValues cv1 = new ContentValues();
		cv1.put(DBStatement.EMERGENCY.COL_NAME, "Emergency A");
		cv1.put(DBStatement.EMERGENCY.COL_ACTIVATED, 1);
		cv1.put(DBStatement.EMERGENCY.COL_LEVEL, EnumLevel.FEDERAL.name());
		cv1.put(DBStatement.EMERGENCY.COL_START_DATE, "11/11/2011 11:11:11");
		cv1.put(DBStatement.EMERGENCY.COL_END_DATE, "12/12/2011 12:12:12");
		cv1.put(DBStatement.EMERGENCY.COL_TYPE, EnumEmergencyType.GEOLOGIC.name());
		return cv1;
	}

	/**
	 * Dummy Emergency 2
	 * @return ContentValues
	 */
	public static ContentValues dummyEmergency2() {
		ContentValues cv2 = new ContentValues();
		cv2.put(DBStatement.EMERGENCY.COL_NAME, "Emergency B");
		cv2.put(DBStatement.EMERGENCY.COL_ACTIVATED, 1);
		cv2.put(DBStatement.EMERGENCY.COL_LEVEL, EnumLevel.MUNICIPAL.name());
		cv2.put(DBStatement.EMERGENCY.COL_START_DATE, "01/01/2012 07:07:07");
		cv2.put(DBStatement.EMERGENCY.COL_END_DATE, "04/01/2012 07:07:07");
		cv2.put(DBStatement.EMERGENCY.COL_TYPE, EnumEmergencyType.FIRE.name());
		return cv2;
	}

	/**
	 * Dummy Emergency 3
	 * @return ContentValues
	 */
	public static ContentValues dummyEmergency3() {
		ContentValues cv3 = new ContentValues();
		cv3.put(DBStatement.EMERGENCY.COL_NAME, "Emergency C");
		cv3.put(DBStatement.EMERGENCY.COL_ACTIVATED, 0);
		cv3.put(DBStatement.EMERGENCY.COL_LEVEL, EnumLevel.INTERNATIONAL.name());
		cv3.put(DBStatement.EMERGENCY.COL_START_DATE, "03/03/2013 10:10:10");
		cv3.put(DBStatement.EMERGENCY.COL_END_DATE, "03/08/2013 12:12:12");
		cv3.put(DBStatement.EMERGENCY.COL_TYPE, EnumEmergencyType.HAZARDOUS_MATERIAL.name());
		return cv3;
	}

	/**
	 * Dummy Emergency 4
	 * @return ContentValues
	 */
	public static ContentValues dummyEmergency4() {
		ContentValues cv4 = new ContentValues();
		cv4.put(DBStatement.EMERGENCY.COL_NAME, "Emergency U");
		cv4.put(DBStatement.EMERGENCY.COL_ACTIVATED, 0);
		cv4.put(DBStatement.EMERGENCY.COL_LEVEL, EnumLevel.STATE.name());
		cv4.put(DBStatement.EMERGENCY.COL_START_DATE, "11/11/2011 11:11:11");
		cv4.put(DBStatement.EMERGENCY.COL_END_DATE, "12/12/2012 12:12:12");
		cv4.put(DBStatement.EMERGENCY.COL_TYPE, EnumEmergencyType.INFESTATION.name());
		return cv4;
	}

}
